StartParams

data class StartParams(    val context: Activity,     val ssoAuthRequestIdentifier: Int,     val connectionId: String,     val loginRedirectUrl: String? = null,     val signupRedirectUrl: String? = null)

Data class used for wrapping parameters used in SSO start calls

Constructors

Link copied to clipboard
fun StartParams(    context: Activity,     ssoAuthRequestIdentifier: Int,     connectionId: String,     loginRedirectUrl: String? = null,     signupRedirectUrl: String? = null)

Properties

Link copied to clipboard
val connectionId: String

The ID of the SSO connection to use for the login flow.

Link copied to clipboard
val context: Activity
Link copied to clipboard
val loginRedirectUrl: String? = null

The URL Stytch redirects to after the SSO flow is completed for a Member that already exists. This URL should be a route in your application which will run sso.authenticate (see below) and finish the login. The URL must be configured as a Login URL in the Redirect URL page. If the field is not specified, the default Login URL will be used.

Link copied to clipboard
val signupRedirectUrl: String? = null

The URL Stytch redirects to after the SSO flow is completed for a Member that does not yet exist. This URL should be a route in your application which will run sso.authenticate (see below) and finish the login. The URL must be configured as a Sign Up URL in the Redirect URL page. If the field is not specified, the default Sign Up URL will be used.

Link copied to clipboard
val ssoAuthRequestIdentifier: Int